In [2]:
import pandas as pd
import numpy as np
from PlateAnalysis import PlateDataset
import matplotlib.pyplot as plt
import re
TritonPlate_t1 = PlateDataset('20191127_NormalPlate_triton.CSV')
KPiPlate_t1 = PlateDataset('20191127_NormalPlate_KPi.CSV')
DeltaPlate_t1 = PlateDataset('20191127_Delta_Triton.CSV')
TritonPlate_t2 = PlateDataset('20191127_Normal_Triton_t2.CSV')
KPiPlate_t2 = PlateDataset('20191127_Normal_KPi_t2.CSV')
DeltaPlate_t2 = PlateDataset('20191127_Delta_Triton_t2.CSV')
CompoundMap = dict(zip(range(1,25),['Lauric Acid']*6 + \
['Arachadionic Acid']*6 + \
['Palmitic Acid']*6 + \
['4-Phenylimidazole']*6))
for i in [TritonPlate_t1,TritonPlate_t2, KPiPlate_t1, KPiPlate_t2, DeltaPlate_t1, DeltaPlate_t2]:
for j in range(1,25):
NormalizedTraces, DifferenceSpec, DiffDiff = i.AnalysisPipeline_1(j)
print('Plate: {} \t Compound: {}'.format(i.plate_data,CompoundMap[j]))
i.PlotTrace(NormalizedTraces)
i.PlotTrace(DifferenceSpec)
i.PlotMichaelesMenten(DiffDiff,'Plate: {} \t Compound: {}'.format(i.plate_data,CompoundMap[j]))
/home/james/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning: Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead. return ptp(axis=axis, out=out, **kwargs)
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
/home/james/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py:211: RuntimeWarning: Glyph 9 missing from current font. font.set_text(s, 0.0, flags=flags) /home/james/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py:180: RuntimeWarning: Glyph 9 missing from current font. font.set_text(s, 0, flags=flags)
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Lauric Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Arachadionic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: Palmitic Acid
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_NormalPlate_KPi.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Lauric Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Normal_KPi_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Lauric Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Arachadionic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: Palmitic Acid
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole
Plate: 20191127_Delta_Triton_t2.CSV Compound: 4-Phenylimidazole